package assignment1.eventplan.request;

public class Response {

    int code;
    String message;
    String data;

    public boolean isSuccessful() {
        return code >= 200 && code < 400;
    }

    public String getMessage() {
        return message;
    }

    public String getData() {
        return data;
    }
}
